<?php

namespace App\Models\V1;

use Illuminate\Database\Eloquent\Factories\HasFactory;

class Bank extends BaseModel
{
    use HasFactory;
    protected $table="bank";
    protected $fillable=['users_id','audit_status','mobile','safe_password','real_name','class_id','open_bank','open_bank_e','open_bank_log','card_number','remark','state'];

    public function getStateAttribute()
    {
        return (string)$this->attributes['state'];
    }

}
